Skip to content

fix: require two shared keywords for an alternative without a similar name - #19

Merged
NeyorDEV merged 2 commits into
mainfrom
fix/generic-keyword-alternatives
Oct 20, 2026
Merged

NeyorDEV merged 2 commits into
mainfrom
fix/generic-keyword-alternatives

Conversation

@NeyorDEV

Copy link
Copy Markdown
Owner

Found during the second run against the real Modrinth API: Fabulously Optimized 6.5.0 → 26.3.

Problem

Xaero's Minimap was still suggested for Paginated Advancements & Custom Frames. The explanation printed by ModShift showed why: keywords (screen). A single generic word is not a real link between two mods.

Fix

When the names don't match, a candidate now needs at least two meaningful keywords in common with the original mod's description.

Some fixture descriptions (Rubidium, Sodium, Embeddium) linked to each other only through the word "fixture". They now have realistic descriptions; Rubidium and Embeddium are Sodium ports/forks. A test reproduces the real case.

README (regenerated site page) and CHANGELOG updated.

Checks

lint, format, typecheck, build and docs:build are clean. 423 tests pass.


Generated by Claude Code

…imilar name

On a real pack, Xaero's Minimap was still suggested for Paginated
Advancements because both descriptions mention a "screen". One generic
word is not a link; two shared keywords are now required when the names
differ. Fixture descriptions for Sodium and its forks are made realistic
so their link no longer depends on the word "fixture".
@NeyorDEV
NeyorDEV merged commit 12832b2 into main Oct 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant